﻿using System;

namespace TSharp.Core.Service
{
    internal static class ValidationUtil
    {
        private const string _stringRequiredErrorMessage = "Value cannot be null or empty.";

        public static void ValidateRequiredStringValue(string value, string parameterName)
        {
            if (String.IsNullOrEmpty(value))
            {
                throw new ArgumentException(_stringRequiredErrorMessage, parameterName);
            }
        }

        internal static void CheckPasswordParameter(ref string password, int p, string p_2)
        {
            //throw new NotImplementedException();
        }

        internal static void CheckParameter(ref string newPasswordQuestion, bool p, bool p_2, bool p_3, int p_4, string p_5)
        {
            // throw new NotImplementedException();
        }
    }
}
